package cn.exrick.xboot.modules.transport.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author gj
 */
@Data
@Accessors(chain = true)
@ApiModel(value = "物流公司抵押金明细信息 vo实体")
public class CompanyDepositDetailsVo {

    @ApiModelProperty(value = "主键id")
    private Long id;

    @ApiModelProperty(value = "所属物流公司的ID")
    private Long companyId;

    @ApiModelProperty(value = "所属物流公司的名称")
    private String companyName;

    @ApiModelProperty(value = "关联的仓点ID")
    private Long warehouseId;

    @ApiModelProperty(value = "关联的仓点Name")
    private String warehouseName;

    @ApiModelProperty(value = "抵押金操作类型，可选值：recharge, deduction ,refund")
    private String depositType;

    @ApiModelProperty(value = "抵押金操作金额")
    private BigDecimal amount;

    @ApiModelProperty(value = "关联的订单ID")
    private Long orderId;

    //创建时间
    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "抵押金操作人")
    private String operator;
}